package com.gy.def.repository;

import com.gy.def.dataobject.UserTable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<UserTable, String> {

  UserTable findByUserNameAndUserPwd(String userName, String userPwd);

  UserTable findByUserName(String userName);

  UserTable findByUserNameAndUserPwdAndUserType(String userName, String userPwd, Integer userType);
}
